﻿@model WarehouseModel
@{
    //page title
    ViewBag.Title = T("Admin.Configuration.Shipping.Warehouses.EditWarehouseDetails").Text;
}
@using (Html.BeginForm())
{
    <div class="section-header">
        <div class="title">
            <img src="@Url.Content("~/Administration/Content/images/ico-configuration.png")" alt="" />
            @T("Admin.Configuration.Shipping.Warehouses.EditWarehouseDetails") - @Model.Name @Html.ActionLink("(" + T("Admin.Configuration.Shipping.Warehouses.BackToList") + ")", "Warehouses")
        </div>
        <div class="options">
            <input type="submit" name="save" class="t-button" value="@T("Admin.Common.Save")" />
            <input type="submit" name="save-continue" class="t-button" value="@T("Admin.Common.SaveContinue")" />
            <span id="warehouse-delete" class="t-button">@T("Admin.Common.Delete")</span>
        </div>
    </div>
    @Html.Partial("_CreateOrUpdateWarehouse", Model)
}
@Html.DeleteConfirmation("DeleteWarehouse", "warehouse-delete")
